package cn.com.spic.demo.dto;

import java.util.ArrayList;
import java.util.List;

public class EmployeeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EmployeeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNull() {
            addCriterion("ORG_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNotNull() {
            addCriterion("ORG_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeEqualTo(String value) {
            addCriterion("ORG_CODE =", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotEqualTo(String value) {
            addCriterion("ORG_CODE <>", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThan(String value) {
            addCriterion("ORG_CODE >", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_CODE >=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThan(String value) {
            addCriterion("ORG_CODE <", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("ORG_CODE <=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLike(String value) {
            addCriterion("ORG_CODE like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotLike(String value) {
            addCriterion("ORG_CODE not like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIn(List<String> values) {
            addCriterion("ORG_CODE in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotIn(List<String> values) {
            addCriterion("ORG_CODE not in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeBetween(String value1, String value2) {
            addCriterion("ORG_CODE between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotBetween(String value1, String value2) {
            addCriterion("ORG_CODE not between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusIsNull() {
            addCriterion("politics_status is null");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusIsNotNull() {
            addCriterion("politics_status is not null");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusEqualTo(String value) {
            addCriterion("politics_status =", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusNotEqualTo(String value) {
            addCriterion("politics_status <>", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusGreaterThan(String value) {
            addCriterion("politics_status >", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusGreaterThanOrEqualTo(String value) {
            addCriterion("politics_status >=", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusLessThan(String value) {
            addCriterion("politics_status <", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusLessThanOrEqualTo(String value) {
            addCriterion("politics_status <=", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusLike(String value) {
            addCriterion("politics_status like", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusNotLike(String value) {
            addCriterion("politics_status not like", value, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusIn(List<String> values) {
            addCriterion("politics_status in", values, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusNotIn(List<String> values) {
            addCriterion("politics_status not in", values, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusBetween(String value1, String value2) {
            addCriterion("politics_status between", value1, value2, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andPoliticsStatusNotBetween(String value1, String value2) {
            addCriterion("politics_status not between", value1, value2, "politicsStatus");
            return (Criteria) this;
        }

        public Criteria andProfessionalIsNull() {
            addCriterion("professional is null");
            return (Criteria) this;
        }

        public Criteria andProfessionalIsNotNull() {
            addCriterion("professional is not null");
            return (Criteria) this;
        }

        public Criteria andProfessionalEqualTo(String value) {
            addCriterion("professional =", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalNotEqualTo(String value) {
            addCriterion("professional <>", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalGreaterThan(String value) {
            addCriterion("professional >", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalGreaterThanOrEqualTo(String value) {
            addCriterion("professional >=", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalLessThan(String value) {
            addCriterion("professional <", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalLessThanOrEqualTo(String value) {
            addCriterion("professional <=", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalLike(String value) {
            addCriterion("professional like", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalNotLike(String value) {
            addCriterion("professional not like", value, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalIn(List<String> values) {
            addCriterion("professional in", values, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalNotIn(List<String> values) {
            addCriterion("professional not in", values, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalBetween(String value1, String value2) {
            addCriterion("professional between", value1, value2, "professional");
            return (Criteria) this;
        }

        public Criteria andProfessionalNotBetween(String value1, String value2) {
            addCriterion("professional not between", value1, value2, "professional");
            return (Criteria) this;
        }

        public Criteria andIdCardNoIsNull() {
            addCriterion("ID_CARD_NO is null");
            return (Criteria) this;
        }

        public Criteria andIdCardNoIsNotNull() {
            addCriterion("ID_CARD_NO is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardNoEqualTo(String value) {
            addCriterion("ID_CARD_NO =", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoNotEqualTo(String value) {
            addCriterion("ID_CARD_NO <>", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoGreaterThan(String value) {
            addCriterion("ID_CARD_NO >", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoGreaterThanOrEqualTo(String value) {
            addCriterion("ID_CARD_NO >=", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoLessThan(String value) {
            addCriterion("ID_CARD_NO <", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoLessThanOrEqualTo(String value) {
            addCriterion("ID_CARD_NO <=", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoLike(String value) {
            addCriterion("ID_CARD_NO like", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoNotLike(String value) {
            addCriterion("ID_CARD_NO not like", value, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoIn(List<String> values) {
            addCriterion("ID_CARD_NO in", values, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoNotIn(List<String> values) {
            addCriterion("ID_CARD_NO not in", values, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoBetween(String value1, String value2) {
            addCriterion("ID_CARD_NO between", value1, value2, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andIdCardNoNotBetween(String value1, String value2) {
            addCriterion("ID_CARD_NO not between", value1, value2, "idCardNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoIsNull() {
            addCriterion("MOBILE_NO is null");
            return (Criteria) this;
        }

        public Criteria andMobileNoIsNotNull() {
            addCriterion("MOBILE_NO is not null");
            return (Criteria) this;
        }

        public Criteria andMobileNoEqualTo(String value) {
            addCriterion("MOBILE_NO =", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoNotEqualTo(String value) {
            addCriterion("MOBILE_NO <>", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoGreaterThan(String value) {
            addCriterion("MOBILE_NO >", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoGreaterThanOrEqualTo(String value) {
            addCriterion("MOBILE_NO >=", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoLessThan(String value) {
            addCriterion("MOBILE_NO <", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoLessThanOrEqualTo(String value) {
            addCriterion("MOBILE_NO <=", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoLike(String value) {
            addCriterion("MOBILE_NO like", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoNotLike(String value) {
            addCriterion("MOBILE_NO not like", value, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoIn(List<String> values) {
            addCriterion("MOBILE_NO in", values, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoNotIn(List<String> values) {
            addCriterion("MOBILE_NO not in", values, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoBetween(String value1, String value2) {
            addCriterion("MOBILE_NO between", value1, value2, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andMobileNoNotBetween(String value1, String value2) {
            addCriterion("MOBILE_NO not between", value1, value2, "mobileNo");
            return (Criteria) this;
        }

        public Criteria andPEmailIsNull() {
            addCriterion("P_EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andPEmailIsNotNull() {
            addCriterion("P_EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andPEmailEqualTo(String value) {
            addCriterion("P_EMAIL =", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailNotEqualTo(String value) {
            addCriterion("P_EMAIL <>", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailGreaterThan(String value) {
            addCriterion("P_EMAIL >", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailGreaterThanOrEqualTo(String value) {
            addCriterion("P_EMAIL >=", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailLessThan(String value) {
            addCriterion("P_EMAIL <", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailLessThanOrEqualTo(String value) {
            addCriterion("P_EMAIL <=", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailLike(String value) {
            addCriterion("P_EMAIL like", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailNotLike(String value) {
            addCriterion("P_EMAIL not like", value, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailIn(List<String> values) {
            addCriterion("P_EMAIL in", values, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailNotIn(List<String> values) {
            addCriterion("P_EMAIL not in", values, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailBetween(String value1, String value2) {
            addCriterion("P_EMAIL between", value1, value2, "pEmail");
            return (Criteria) this;
        }

        public Criteria andPEmailNotBetween(String value1, String value2) {
            addCriterion("P_EMAIL not between", value1, value2, "pEmail");
            return (Criteria) this;
        }

        public Criteria andNationIsNull() {
            addCriterion("nation is null");
            return (Criteria) this;
        }

        public Criteria andNationIsNotNull() {
            addCriterion("nation is not null");
            return (Criteria) this;
        }

        public Criteria andNationEqualTo(String value) {
            addCriterion("nation =", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotEqualTo(String value) {
            addCriterion("nation <>", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThan(String value) {
            addCriterion("nation >", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThanOrEqualTo(String value) {
            addCriterion("nation >=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThan(String value) {
            addCriterion("nation <", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThanOrEqualTo(String value) {
            addCriterion("nation <=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLike(String value) {
            addCriterion("nation like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotLike(String value) {
            addCriterion("nation not like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationIn(List<String> values) {
            addCriterion("nation in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotIn(List<String> values) {
            addCriterion("nation not in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationBetween(String value1, String value2) {
            addCriterion("nation between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotBetween(String value1, String value2) {
            addCriterion("nation not between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNull() {
            addCriterion("nationality is null");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNotNull() {
            addCriterion("nationality is not null");
            return (Criteria) this;
        }

        public Criteria andNationalityEqualTo(String value) {
            addCriterion("nationality =", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotEqualTo(String value) {
            addCriterion("nationality <>", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThan(String value) {
            addCriterion("nationality >", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThanOrEqualTo(String value) {
            addCriterion("nationality >=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThan(String value) {
            addCriterion("nationality <", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThanOrEqualTo(String value) {
            addCriterion("nationality <=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLike(String value) {
            addCriterion("nationality like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotLike(String value) {
            addCriterion("nationality not like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityIn(List<String> values) {
            addCriterion("nationality in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotIn(List<String> values) {
            addCriterion("nationality not in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityBetween(String value1, String value2) {
            addCriterion("nationality between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotBetween(String value1, String value2) {
            addCriterion("nationality not between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andNativePlaceIsNull() {
            addCriterion("native_place is null");
            return (Criteria) this;
        }

        public Criteria andNativePlaceIsNotNull() {
            addCriterion("native_place is not null");
            return (Criteria) this;
        }

        public Criteria andNativePlaceEqualTo(String value) {
            addCriterion("native_place =", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotEqualTo(String value) {
            addCriterion("native_place <>", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceGreaterThan(String value) {
            addCriterion("native_place >", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceGreaterThanOrEqualTo(String value) {
            addCriterion("native_place >=", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceLessThan(String value) {
            addCriterion("native_place <", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceLessThanOrEqualTo(String value) {
            addCriterion("native_place <=", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceLike(String value) {
            addCriterion("native_place like", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotLike(String value) {
            addCriterion("native_place not like", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceIn(List<String> values) {
            addCriterion("native_place in", values, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotIn(List<String> values) {
            addCriterion("native_place not in", values, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceBetween(String value1, String value2) {
            addCriterion("native_place between", value1, value2, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotBetween(String value1, String value2) {
            addCriterion("native_place not between", value1, value2, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andCensusAddressIsNull() {
            addCriterion("census_address is null");
            return (Criteria) this;
        }

        public Criteria andCensusAddressIsNotNull() {
            addCriterion("census_address is not null");
            return (Criteria) this;
        }

        public Criteria andCensusAddressEqualTo(String value) {
            addCriterion("census_address =", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressNotEqualTo(String value) {
            addCriterion("census_address <>", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressGreaterThan(String value) {
            addCriterion("census_address >", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressGreaterThanOrEqualTo(String value) {
            addCriterion("census_address >=", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressLessThan(String value) {
            addCriterion("census_address <", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressLessThanOrEqualTo(String value) {
            addCriterion("census_address <=", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressLike(String value) {
            addCriterion("census_address like", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressNotLike(String value) {
            addCriterion("census_address not like", value, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressIn(List<String> values) {
            addCriterion("census_address in", values, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressNotIn(List<String> values) {
            addCriterion("census_address not in", values, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressBetween(String value1, String value2) {
            addCriterion("census_address between", value1, value2, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andCensusAddressNotBetween(String value1, String value2) {
            addCriterion("census_address not between", value1, value2, "censusAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressIsNull() {
            addCriterion("home_address is null");
            return (Criteria) this;
        }

        public Criteria andHomeAddressIsNotNull() {
            addCriterion("home_address is not null");
            return (Criteria) this;
        }

        public Criteria andHomeAddressEqualTo(String value) {
            addCriterion("home_address =", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotEqualTo(String value) {
            addCriterion("home_address <>", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressGreaterThan(String value) {
            addCriterion("home_address >", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressGreaterThanOrEqualTo(String value) {
            addCriterion("home_address >=", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressLessThan(String value) {
            addCriterion("home_address <", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressLessThanOrEqualTo(String value) {
            addCriterion("home_address <=", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressLike(String value) {
            addCriterion("home_address like", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotLike(String value) {
            addCriterion("home_address not like", value, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressIn(List<String> values) {
            addCriterion("home_address in", values, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotIn(List<String> values) {
            addCriterion("home_address not in", values, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressBetween(String value1, String value2) {
            addCriterion("home_address between", value1, value2, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andHomeAddressNotBetween(String value1, String value2) {
            addCriterion("home_address not between", value1, value2, "homeAddress");
            return (Criteria) this;
        }

        public Criteria andEducation1IsNull() {
            addCriterion("education_1 is null");
            return (Criteria) this;
        }

        public Criteria andEducation1IsNotNull() {
            addCriterion("education_1 is not null");
            return (Criteria) this;
        }

        public Criteria andEducation1EqualTo(String value) {
            addCriterion("education_1 =", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1NotEqualTo(String value) {
            addCriterion("education_1 <>", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1GreaterThan(String value) {
            addCriterion("education_1 >", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1GreaterThanOrEqualTo(String value) {
            addCriterion("education_1 >=", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1LessThan(String value) {
            addCriterion("education_1 <", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1LessThanOrEqualTo(String value) {
            addCriterion("education_1 <=", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1Like(String value) {
            addCriterion("education_1 like", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1NotLike(String value) {
            addCriterion("education_1 not like", value, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1In(List<String> values) {
            addCriterion("education_1 in", values, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1NotIn(List<String> values) {
            addCriterion("education_1 not in", values, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1Between(String value1, String value2) {
            addCriterion("education_1 between", value1, value2, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1NotBetween(String value1, String value2) {
            addCriterion("education_1 not between", value1, value2, "education1");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolIsNull() {
            addCriterion("education_1_school is null");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolIsNotNull() {
            addCriterion("education_1_school is not null");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolEqualTo(String value) {
            addCriterion("education_1_school =", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolNotEqualTo(String value) {
            addCriterion("education_1_school <>", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolGreaterThan(String value) {
            addCriterion("education_1_school >", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolGreaterThanOrEqualTo(String value) {
            addCriterion("education_1_school >=", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolLessThan(String value) {
            addCriterion("education_1_school <", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolLessThanOrEqualTo(String value) {
            addCriterion("education_1_school <=", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolLike(String value) {
            addCriterion("education_1_school like", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolNotLike(String value) {
            addCriterion("education_1_school not like", value, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolIn(List<String> values) {
            addCriterion("education_1_school in", values, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolNotIn(List<String> values) {
            addCriterion("education_1_school not in", values, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolBetween(String value1, String value2) {
            addCriterion("education_1_school between", value1, value2, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1SchoolNotBetween(String value1, String value2) {
            addCriterion("education_1_school not between", value1, value2, "education1School");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorIsNull() {
            addCriterion("education_1_major is null");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorIsNotNull() {
            addCriterion("education_1_major is not null");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorEqualTo(String value) {
            addCriterion("education_1_major =", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorNotEqualTo(String value) {
            addCriterion("education_1_major <>", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorGreaterThan(String value) {
            addCriterion("education_1_major >", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorGreaterThanOrEqualTo(String value) {
            addCriterion("education_1_major >=", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorLessThan(String value) {
            addCriterion("education_1_major <", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorLessThanOrEqualTo(String value) {
            addCriterion("education_1_major <=", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorLike(String value) {
            addCriterion("education_1_major like", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorNotLike(String value) {
            addCriterion("education_1_major not like", value, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorIn(List<String> values) {
            addCriterion("education_1_major in", values, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorNotIn(List<String> values) {
            addCriterion("education_1_major not in", values, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorBetween(String value1, String value2) {
            addCriterion("education_1_major between", value1, value2, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1MajorNotBetween(String value1, String value2) {
            addCriterion("education_1_major not between", value1, value2, "education1Major");
            return (Criteria) this;
        }

        public Criteria andEducation1DateIsNull() {
            addCriterion("education_1_date is null");
            return (Criteria) this;
        }

        public Criteria andEducation1DateIsNotNull() {
            addCriterion("education_1_date is not null");
            return (Criteria) this;
        }

        public Criteria andEducation1DateEqualTo(String value) {
            addCriterion("education_1_date =", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateNotEqualTo(String value) {
            addCriterion("education_1_date <>", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateGreaterThan(String value) {
            addCriterion("education_1_date >", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateGreaterThanOrEqualTo(String value) {
            addCriterion("education_1_date >=", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateLessThan(String value) {
            addCriterion("education_1_date <", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateLessThanOrEqualTo(String value) {
            addCriterion("education_1_date <=", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateLike(String value) {
            addCriterion("education_1_date like", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateNotLike(String value) {
            addCriterion("education_1_date not like", value, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateIn(List<String> values) {
            addCriterion("education_1_date in", values, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateNotIn(List<String> values) {
            addCriterion("education_1_date not in", values, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateBetween(String value1, String value2) {
            addCriterion("education_1_date between", value1, value2, "education1Date");
            return (Criteria) this;
        }

        public Criteria andEducation1DateNotBetween(String value1, String value2) {
            addCriterion("education_1_date not between", value1, value2, "education1Date");
            return (Criteria) this;
        }

        public Criteria andBirthplaceIsNull() {
            addCriterion("birthplace is null");
            return (Criteria) this;
        }

        public Criteria andBirthplaceIsNotNull() {
            addCriterion("birthplace is not null");
            return (Criteria) this;
        }

        public Criteria andBirthplaceEqualTo(String value) {
            addCriterion("birthplace =", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotEqualTo(String value) {
            addCriterion("birthplace <>", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceGreaterThan(String value) {
            addCriterion("birthplace >", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceGreaterThanOrEqualTo(String value) {
            addCriterion("birthplace >=", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceLessThan(String value) {
            addCriterion("birthplace <", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceLessThanOrEqualTo(String value) {
            addCriterion("birthplace <=", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceLike(String value) {
            addCriterion("birthplace like", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotLike(String value) {
            addCriterion("birthplace not like", value, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceIn(List<String> values) {
            addCriterion("birthplace in", values, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotIn(List<String> values) {
            addCriterion("birthplace not in", values, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceBetween(String value1, String value2) {
            addCriterion("birthplace between", value1, value2, "birthplace");
            return (Criteria) this;
        }

        public Criteria andBirthplaceNotBetween(String value1, String value2) {
            addCriterion("birthplace not between", value1, value2, "birthplace");
            return (Criteria) this;
        }

        public Criteria andWorkTimeIsNull() {
            addCriterion("work_time is null");
            return (Criteria) this;
        }

        public Criteria andWorkTimeIsNotNull() {
            addCriterion("work_time is not null");
            return (Criteria) this;
        }

        public Criteria andWorkTimeEqualTo(String value) {
            addCriterion("work_time =", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeNotEqualTo(String value) {
            addCriterion("work_time <>", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeGreaterThan(String value) {
            addCriterion("work_time >", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeGreaterThanOrEqualTo(String value) {
            addCriterion("work_time >=", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeLessThan(String value) {
            addCriterion("work_time <", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeLessThanOrEqualTo(String value) {
            addCriterion("work_time <=", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeLike(String value) {
            addCriterion("work_time like", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeNotLike(String value) {
            addCriterion("work_time not like", value, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeIn(List<String> values) {
            addCriterion("work_time in", values, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeNotIn(List<String> values) {
            addCriterion("work_time not in", values, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeBetween(String value1, String value2) {
            addCriterion("work_time between", value1, value2, "workTime");
            return (Criteria) this;
        }

        public Criteria andWorkTimeNotBetween(String value1, String value2) {
            addCriterion("work_time not between", value1, value2, "workTime");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateIsNull() {
            addCriterion("best_education_date is null");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateIsNotNull() {
            addCriterion("best_education_date is not null");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateEqualTo(String value) {
            addCriterion("best_education_date =", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateNotEqualTo(String value) {
            addCriterion("best_education_date <>", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateGreaterThan(String value) {
            addCriterion("best_education_date >", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateGreaterThanOrEqualTo(String value) {
            addCriterion("best_education_date >=", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateLessThan(String value) {
            addCriterion("best_education_date <", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateLessThanOrEqualTo(String value) {
            addCriterion("best_education_date <=", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateLike(String value) {
            addCriterion("best_education_date like", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateNotLike(String value) {
            addCriterion("best_education_date not like", value, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateIn(List<String> values) {
            addCriterion("best_education_date in", values, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateNotIn(List<String> values) {
            addCriterion("best_education_date not in", values, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateBetween(String value1, String value2) {
            addCriterion("best_education_date between", value1, value2, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationDateNotBetween(String value1, String value2) {
            addCriterion("best_education_date not between", value1, value2, "bestEducationDate");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorIsNull() {
            addCriterion("best_education_major is null");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorIsNotNull() {
            addCriterion("best_education_major is not null");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorEqualTo(String value) {
            addCriterion("best_education_major =", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorNotEqualTo(String value) {
            addCriterion("best_education_major <>", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorGreaterThan(String value) {
            addCriterion("best_education_major >", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorGreaterThanOrEqualTo(String value) {
            addCriterion("best_education_major >=", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorLessThan(String value) {
            addCriterion("best_education_major <", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorLessThanOrEqualTo(String value) {
            addCriterion("best_education_major <=", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorLike(String value) {
            addCriterion("best_education_major like", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorNotLike(String value) {
            addCriterion("best_education_major not like", value, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorIn(List<String> values) {
            addCriterion("best_education_major in", values, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorNotIn(List<String> values) {
            addCriterion("best_education_major not in", values, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorBetween(String value1, String value2) {
            addCriterion("best_education_major between", value1, value2, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationMajorNotBetween(String value1, String value2) {
            addCriterion("best_education_major not between", value1, value2, "bestEducationMajor");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolIsNull() {
            addCriterion("best_education_school is null");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolIsNotNull() {
            addCriterion("best_education_school is not null");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolEqualTo(String value) {
            addCriterion("best_education_school =", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolNotEqualTo(String value) {
            addCriterion("best_education_school <>", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolGreaterThan(String value) {
            addCriterion("best_education_school >", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolGreaterThanOrEqualTo(String value) {
            addCriterion("best_education_school >=", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolLessThan(String value) {
            addCriterion("best_education_school <", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolLessThanOrEqualTo(String value) {
            addCriterion("best_education_school <=", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolLike(String value) {
            addCriterion("best_education_school like", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolNotLike(String value) {
            addCriterion("best_education_school not like", value, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolIn(List<String> values) {
            addCriterion("best_education_school in", values, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolNotIn(List<String> values) {
            addCriterion("best_education_school not in", values, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolBetween(String value1, String value2) {
            addCriterion("best_education_school between", value1, value2, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationSchoolNotBetween(String value1, String value2) {
            addCriterion("best_education_school not between", value1, value2, "bestEducationSchool");
            return (Criteria) this;
        }

        public Criteria andBestEducationIsNull() {
            addCriterion("best_education is null");
            return (Criteria) this;
        }

        public Criteria andBestEducationIsNotNull() {
            addCriterion("best_education is not null");
            return (Criteria) this;
        }

        public Criteria andBestEducationEqualTo(String value) {
            addCriterion("best_education =", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationNotEqualTo(String value) {
            addCriterion("best_education <>", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationGreaterThan(String value) {
            addCriterion("best_education >", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationGreaterThanOrEqualTo(String value) {
            addCriterion("best_education >=", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationLessThan(String value) {
            addCriterion("best_education <", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationLessThanOrEqualTo(String value) {
            addCriterion("best_education <=", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationLike(String value) {
            addCriterion("best_education like", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationNotLike(String value) {
            addCriterion("best_education not like", value, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationIn(List<String> values) {
            addCriterion("best_education in", values, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationNotIn(List<String> values) {
            addCriterion("best_education not in", values, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationBetween(String value1, String value2) {
            addCriterion("best_education between", value1, value2, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestEducationNotBetween(String value1, String value2) {
            addCriterion("best_education not between", value1, value2, "bestEducation");
            return (Criteria) this;
        }

        public Criteria andBestDegreeIsNull() {
            addCriterion("best_degree is null");
            return (Criteria) this;
        }

        public Criteria andBestDegreeIsNotNull() {
            addCriterion("best_degree is not null");
            return (Criteria) this;
        }

        public Criteria andBestDegreeEqualTo(String value) {
            addCriterion("best_degree =", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeNotEqualTo(String value) {
            addCriterion("best_degree <>", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeGreaterThan(String value) {
            addCriterion("best_degree >", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeGreaterThanOrEqualTo(String value) {
            addCriterion("best_degree >=", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeLessThan(String value) {
            addCriterion("best_degree <", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeLessThanOrEqualTo(String value) {
            addCriterion("best_degree <=", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeLike(String value) {
            addCriterion("best_degree like", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeNotLike(String value) {
            addCriterion("best_degree not like", value, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeIn(List<String> values) {
            addCriterion("best_degree in", values, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeNotIn(List<String> values) {
            addCriterion("best_degree not in", values, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeBetween(String value1, String value2) {
            addCriterion("best_degree between", value1, value2, "bestDegree");
            return (Criteria) this;
        }

        public Criteria andBestDegreeNotBetween(String value1, String value2) {
            addCriterion("best_degree not between", value1, value2, "bestDegree");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}